

using System;
using ERP_RORZE_TOOL.DBAccess;

namespace ERP_RORZE_ORDER.Common.ValueObject
{
    [Serializable]
	public class Product : BaseDAO
	{
			#region Members
			protected int iD;
			protected string productID;
			protected string productName;
			protected string englishName;
			protected string vietName;
			protected string japanName;
			protected string size;
			protected string makerID;
			protected string productGroupID;
			protected string supplierID;
			protected string kindID;
			protected string unitID;
			protected decimal price;
			protected string currencyID;
            protected string purposeID;
            protected string tempId;
			#endregion
			#region Public Properties

			/// <summary>
			/// Property relating to database column ID(int,not null)
			/// </summary>
			public int ID
			{
				get { return iD; }
				set { iD = value; }
			}

			/// <summary>
			/// Property relating to database column ProductID(nvarchar(255),not null)
			/// </summary>
			public string ProductID
			{
				get { return productID; }
				set { productID = value; }
			}

			/// <summary>
			/// Property relating to database column ProductName(nvarchar(255),null)
			/// </summary>
			public string ProductName
			{
				get { return productName; }
				set { productName = value; }
			}

			/// <summary>
			/// Property relating to database column EnglishName(nvarchar(255),null)
			/// </summary>
			public string EnglishName
			{
				get { return englishName; }
				set { englishName = value; }
			}

			/// <summary>
			/// Property relating to database column VietName(nvarchar(255),null)
			/// </summary>
			public string VietName
			{
				get { return vietName; }
				set { vietName = value; }
			}

			/// <summary>
			/// Property relating to database column JapanName(nvarchar(255),null)
			/// </summary>
			public string JapanName
			{
				get { return japanName; }
				set { japanName = value; }
			}

			/// <summary>
			/// Property relating to database column Size(nvarchar(255),null)
			/// </summary>
			public string Size
			{
				get { return size; }
				set { size = value; }
			}

			/// <summary>
			/// Property relating to database column MakerID(nvarchar(50),null)
			/// </summary>
			public string MakerID
			{
				get { return makerID; }
				set { makerID = value; }
			}

			/// <summary>
			/// Property relating to database column ProductGroupID(nvarchar(50),null)
			/// </summary>
			public string ProductGroupID
			{
				get { return productGroupID; }
				set { productGroupID = value; }
			}

			/// <summary>
			/// Property relating to database column SupplierID(nvarchar(50),null)
			/// </summary>
			public string SupplierID
			{
				get { return supplierID; }
				set { supplierID = value; }
			}

			/// <summary>
			/// Property relating to database column KindID(nvarchar(50),null)
			/// </summary>
			public string KindID
			{
				get { return kindID; }
				set { kindID = value; }
			}

			/// <summary>
			/// Property relating to database column UnitID(nvarchar(50),null)
			/// </summary>
			public string UnitID
			{
				get { return unitID; }
				set { unitID = value; }
			}

			/// <summary>
			/// Property relating to database column Price(decimal(18,4),null)
			/// </summary>
			public decimal Price
			{
				get { return price; }
				set { price = value; }
			}

			/// <summary>
			/// Property relating to database column CurrencyID(nvarchar(50),null)
			/// </summary>
			public string CurrencyID
			{
				get { return currencyID; }
				set { currencyID = value; }
			}

			/// <summary>
			/// Property relating to database column PurposeID(nvarchar(50),null)
			/// </summary>
			public string PurposeID
			{
				get { return purposeID; }
				set { purposeID = value; }
			}

            public string TempId
            {
                get
                {
                    return tempId;
                }
                set
                {
                    tempId = value;
                }
            }
			#endregion
	}
}
